﻿using AutoMapper;
using S.Produce.Api.Application.Commands.ShiftCommands;
using S.Produce.Domains;


namespace S.Produce.Api.Extensions
{
    public class ShiftProfile : Profile
    {
        public ShiftProfile()
        {
            //添加automapper
            CreateMap<ShiftCreateCommand, ShiftDorm>().ReverseMap();
            //修改automapper
            CreateMap<ShiftUpdateCommand, ShiftDorm>().ReverseMap();
        }
    }
}
